package org.dey.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dey.pojo.Health;
import org.dey.pojo.PageVo;

public interface HealthService extends IService<Health> {
    //查
    public PageVo<Health> queryHealth(Health health,int pageNum, int pageSize);

    //添加
    public int insertHealth(Health health);

    //删除
    public int deleteHealth(int id);

    //修改前先根据id查到该数据
    public Health queryHealthByid(int id);

    //根据id修改
    public int updateHealth(Health health);

}
